package cn.service.orderService.OrderServiceImpl;

import cn.service.orderService.UserService;
import entity.Result;
import mapper.orderMapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 朱颢阳
 * @description
 * @time 2024/8/28 11:44
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper mapper;

    @Override
    public Result getuserInfo(String user_account) {
        return Result.success(200,mapper.selectByPrimaryKey(user_account));
    }
}
